.music-monaco-editor-list {
  &-wrapper {
    width: 180px;
    padding: 0 5px;
    line-height: 25px;
    height: 100%;
    background: var(--monaco-editor-filelist-background);
    color: var(--monaco-editor-foreground);
    overflow: auto;
    flex-shrink: 0;
  }

  &-split {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 25px;
    user-select: none;
    cursor: pointer;
    line-height: 25px;

    & &-icon {
      visibility: visible;
    }

    &-icon {
      visibility: hidden;
      font-size: 16px;
      color: var(--monaco-editor-foreground);
      margin-right: 4px;

      &:hover {
        color: var(--monaco-list-hoverForeground);
      }
    }
  }

  &-file-item {
    user-select: none;
    font-family: consolas, monospace, courier;

    &-new {
      flex: 1;
      outline: none;
      border: 1px solid var(--monaco-editor-wordHighlightBorder);

      &:focus {
        cursor: text;
      }
    }

    &-row {
      cursor: pointer;
      user-select: none;
      display: flex;
      flex-direction: row;
      align-items: center;

      span,
      .music-monaco-editor-list-file-item-new {
        display: inline-block;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: calc(100% - 20px);
      }

      &:hover {
        background-color: var(--monaco-list-hoverBackground);
        color: var(--monaco-list-hoverForeground);
      }

      &:hover .music-monaco-editor-list-split-icon {
        visibility: visible;
      }

      &-focused {
        background-color: var(--monaco-list-focusBackground);
        color: var(--monaco-list-focusForeground);
      }
    }
  }
}
